<!-- body -->
    <div id="hover-tip"></div>
    <div class="container nav-margin-top">
        <ol class="breadcrumb">
            <li><a href="javascript:history.go(-1);">« 返回 </a></li>
            <li class="active">搜索<?php echo $sign."：{$_GET['wd']}"?></li>
        </ol>
        <div class="container-fluid">
    <?php if(!$user_list && !$m_list && !$c_list){ ?>
            <div class="item" id="nc">
                <span>没有找到与 <i><?php echo $_GET['wd']?></i> 相关的任何<?php echo $sign?>内容</span>
            </div>   
    <?php } ?>
    <?php foreach($user_list as $user_item){ ?>
            <div class="item clearfix">
                <a target="_blank" class="link" href="userinfo.php?uid=<?php echo $user_item['id']?>"></a>
                <div class="l photo">
                    <img class="img-yuan-x70" src="<?php echo PHOTO_PATH.$user_item['photo']?>">
                </div>
                <div class="l a">
                    <p class="username">
                        <em><?php echo $user_item['user']?></em>
                        <span class="<?php echo $user_item['stat']?>-status"></span>
                    </p>
                    <p class="gxqm"><em><?php echo $user_item['qianming']?></em></p>
                    <p>身份：<i><?php echo $user_item['job']?></i></p>
                </div>
                <div class="l b">
                    <p>等级：<span class="<?php echo $user_item['lv']?>"></span></p>
                    <p>关注：<i><?php echo $user_item['follow']?></i></p>
                    <p>粉丝：<i><?php echo $user_item['fans']?></i></p>
                </div>
                <div class="l c">
                    <p>发帖数：<i><?php echo $user_item['count']?></i></p>
                    <p>最近上站：<i><?php echo $user_item['last_time']?></i></p>
                </div>
                <div class="l d">
            <?php if($user_data && $user_data['id'] != $user_item['id']){ ?>
                    <b class="follow hand <?php echo $user_item['fol_class']?>" id="<?php echo $user_item['id']?>" title="<?php echo $user_item['fol_title']?>"></b>
                    <a href="selfmail.php?to=<?php echo $user_item['id']?>"><b class="mail" title="私信ta"></b></a>
            <?php } ?>
                </div>
            </div>
        <?php } ?>
<!-- 版面 -->
        <?php foreach($m_list as $m_item){ ?>
            <div class="row module-info">
              <a href="module.php?mid=<?php echo $m_item['id']?>" class="link"></a>
              <div class="col-sm-6">
                <div class="module-title">
                  <span class="tt"><?php echo $m_item['name']?></span>
                </div>
                <div class="module-label"><?php echo $m_item['info']?></div>
                <div class="module-main">
                  <span>今日：<i><?php echo $m_item['today']?></i></span>
                  <span>主题：<i><?php echo $m_item['main']?></i></span>
                  <span>帖数：<i><?php echo $m_item['all']?></i></span>
                </div>
                <div class="module-manager">
                  <span>版务：</span>
                <?php foreach($m_item['manager'] as $u_item){ ?>
                    <a href="userinfo.php?uid=<?php echo $u_item['id']?>"><?php echo $u_item['user']?></a>
                <?php } ?>
                <?php if(!$m_item['manager']){ ?>
                    <span class="icolor">暂无版务</span>
                <?php } ?>
                </div>
              </div>
              <div class="col-sm-6">
                <div class="content-push clearfix">
                <?php if($m_item['content']){ ?>
                  <a target="_blank" href="userinfo.php?uid=<?php echo $m_item['content']['user_info']['id']?>" class="l">
                    <img class="img-yuan-x36" src="<?php echo PHOTO_PATH.$m_item['content']['user_info']['photo']?>">
                  </a>
                  <div class="l content">
                    <div class="content-title">
                      <a href="details.php?cid=<?php echo $m_item['content']['id']?>"><?php echo $m_item['content']['title']?></a>
                    </div>
                    <div class="content-time">
                      <span>
                     <?php echo $m_item['content']['user']?>
                     <?php echo $m_item['content']['time']?>
                      </span>
                    </div>
                  </div>
                <?php }else{ ?>
                    <span class="icolor">暂无动态</span>
                <?php } ?>
                </div>
              </div>
            </div>
        <?php } ?>
        <?php foreach($c_list as $c_item){ ?>
            <div class="row module-info clearfix">
              <a href="details.php?cid=<?php echo $c_item['id']?>" class="link"></a>
              <div class="col-sm-6">
                <div class="module-main2">
                  <span>回复：<i><?php echo $c_item['reply_num']?></i></span>
                  <span>浏览：<i><?php echo $c_item['look_num']?></i></span>
                </div>
                <div class="content-time">
                    <span><?php echo $c_item['time']?></span>
                </div>
              </div>
              <div class="col-sm-6">
                <div class="content-push clearfix">
                  <a target="_blank" href="userinfo.php?uid=<?php echo $c_item['user_info']['id']?>" class="l"><img class="img-yuan-x36" src="<?php echo PHOTO_PATH.$c_item['user_info']['photo']?>"></a>
                  <div class="l content2">
                    <div class="content-title icolor">
                      <?php echo $c_item['title']?>
                    </div>
                    <div class="content-time">
                      <span><?php echo $c_item['user_info']['user']?></span>
                    </div>
                  </div>
                </div>
              </div>
            </div>
        <?php } ?>
        <ul class="pagination">
          <?php echo $page['html']?>
        </ul>
        </div>
    </div>
<script src="public/js/jquery.min.js"></script>
<script src="public/js/my-bootstrap.min.js"></script>
<script async src="public/js/search.pc.js"></script>
